<?php
include_once "../conn.php";
//echo $_GET['id'];
sleep(1);
if($_GET['id'] != 'USA'){

	echo "<input type=text name=state>";

}

else{
	
	echo "<select name=state>";
	echo "<option value=' '>Select</option>";

foreach ($state as $key => $value){
?>
	<option value="<?=$value?>"><?=$value?></option>
<?
}
	
	echo "</select>";
	
}


?>